package com.yunxi.customer.service;

import com.github.pagehelper.PageInfo;
import com.yunxi.core.web.ApiResult;
import com.yunxi.core.web.LoginInfo;
import com.yunxi.customer.pojo.CustomCreditExportVO;
import com.yunxi.customer.pojo.CustomCreditReportingVO;

import javax.servlet.http.HttpServletResponse;
import java.lang.reflect.InvocationTargetException;
import java.util.List;

/**
 * <p>
 * 个人征信信息表 服务类
 * </p>
 *
 * @author 
 * @since 2019-08-20
 */
public interface CustomCreditReportingDubboService {

    CustomCreditReportingVO getById(String id) throws Exception;

    ApiResult saveOrUpdate(CustomCreditReportingVO customCreditReportingVO, LoginInfo loginInfo) throws InvocationTargetException, IllegalAccessException;

    void removeById(String id);

    PageInfo<CustomCreditReportingVO> findPageByVO(CustomCreditReportingVO customCreditReportingVO, Integer pageNum, Integer pageSize,LoginInfo loginInfo) throws InvocationTargetException, IllegalAccessException;

    void removeByListVo(List<CustomCreditReportingVO> customCreditReportingVOList) throws IllegalAccessException, InvocationTargetException, InstantiationException;

    List listByVo(CustomCreditReportingVO customCreditReportingVO);

   ApiResult updateBatch(List<CustomCreditReportingVO> list,LoginInfo loginInfo);

    List<CustomCreditExportVO> exportDetailDate(List<CustomCreditReportingVO> voList);

   List<CustomCreditReportingVO> getByOrderCustomerNo(String orderCustomerNo);
}
